#{extends 'main.html' /} #{set title:'Browse' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Browse</title>
<script type="text/javascript"
	src=" https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script type="text/javascript"
	src=" https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>

<script type="text/javascript">
	$(function() {
		$('#orgOptions').hide();
		$('#entOptions').hide();
		$('#topicOptions').hide();
		$('#ideasOptions').hide();
		$('#mostViewedTags').hide();
		javascript: showOrganizationsJoined();
		$('#joinedOrgs').hide();
		javascript: showOrganizationsManaged();
		$('#managedOrgs').hide();
		javascript: showOrganizationsFollowed();
		$('#followedOrgs').hide();
		javascript: showEntitsJoined();
		$('#joinedEntits').hide();
		javascript: showEntitsManaged();
		$('#managedEntits').hide();
		javascript: showEntitsFollowed();
		$('#followedEntits').hide();
		javascript: showTopicsCreated();
		$('#createdTopics').hide();
		javascript: showTopicsManaged();
		$('#managedTopics').hide();
		javascript: showTopicsFollowed();
		$('#followedTopics').hide();
		javascript: showIdeasCreated();
		$('#createdIdeas').hide();
		//javascript:showTags();
		$('#mostViewedTags').hide();
	});
</script>

<script type="text/javascript">
	function showOption(div) {
		if (div != 'orgOptions')
			$('#orgOptions').hide(1000);
		if (div != 'entOptions')
			$('#entOptions').hide(1000);
		if (div != 'topicOptions')
			$('#topicOptions').hide(1000);
		if (div != 'ideasOptions')
			$('#ideasOptions').hide(1000);
		if (div != 'mostViewedTags')
			$('#mostViewedTags').hide(1000);
		showOrgOption('');
		showEntitOption('');
		showTopicOption('');
		$("#" + div + "").toggle(1000);
	}
</script>

<!-- ---------------------------------------------------javascript for showing organizations-------------------------------------->
<script type="text/javascript">
	function showOrganizationsJoined() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseOrganizationsJoined()}',
						{
							'userName' : user
						},
						function(data) {
							var orgs = data.joinedOrgs;
							var orgsPart = "";
							if (orgs == null || orgs == "") {
								document.getElementById("joinedOrgs").innerHTML = "No organizations to show";
							} else {
								orgsPart = "";
								var x = orgs.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									orgsPart += "<a href=\"@{Application.organizationView()}?name=" + x[i] +"\">" + "open" + "</a>";
									orgsPart += "<a href = '#' onclick = \"getInsideOrg('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									orgsPart += "<div id = \"org" + x[i] + "\"></div>";
								}
								document.getElementById("joinedOrgs").innerHTML = orgsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showOrganizationsManaged() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseOrganizationsManaged()}',
						{
							'userName' : user
						},
						function(data) {
							alert(data.hello);
							var orgs = data.managedOrgs;
							var orgsPart = "";
							if (orgs == null || orgs == "") {
								document.getElementById("managedOrgs").innerHTML = "No organizations to show";
							} else {
								orgsPart = "";
								var x = orgs.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									orgsPart += "<a href = '#' onclick = \"showOrganization('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a>";
									orgsPart += "<a href = '#' onclick = \"getInsideOrg('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									orgsPart += "<div id = \"org" + x[i] + "\"></div>";
								}
								document.getElementById("managedOrgs").innerHTML = orgsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showOrganizationsFollowed() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseOrganizationsFollowed()}',
						{
							'userName' : user
						},
						function(data) {
							var orgs = data.followedOrgs;
							var orgsPart = "";
							if (orgs == null || orgs == "") {
								document.getElementById("followedOrgs").innerHTML = "No organizations to show";
							} else {
								orgsPart = "";
								var x = orgs.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									orgsPart += "<a href = '#' onclick = \"showOrganization('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a>";
									orgsPart += "<a href = '#' onclick = \"getInsideOrg('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									orgsPart += "<div id = \"org" + x[i] + "\"></div>";
								}
								document.getElementById("followedOrgs").innerHTML = orgsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function getInsideOrg(u, org) {
		var user = u;
		var organization = org;
		$
				.getJSON(
						'@{BrowseController.showOrgContents()}',
						{
							'orgName' : organization,
							'userName' : user
						},
						function(data) {
							alert(data.hello);
							var topics = "";
							var entit = "";
							var ideas = "";
							var desiredOrg = "org" + organization;
							if (data != null && data.entities != "") {
								var x = data.entities.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									entit += "<p> <a href = '#' onclick = \"showEntity('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a></p>";
									entit += "<p> <a href = '#' onclick = \"getInsideEntit('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									entit += "<div id = \"entit" + x[i] + "\"></div>";
								}
							} else {
								alert("No entities inside the organization");
							}

							if (data != null && data.topics != "") {
								var y = data.topics.split("&&");

								//Note here when a user clicks on a topic he should be redirected to topic's page
								for ( var j = 0; j < y.length - 1; j = j + 1) {
									topics += "<p> <a href = '#' onclick = \"showTopic('"
											+ ""
											+ user
											+ "','"
											+ y[j]
											+ "')\">" + "open" + "</a></p>";
									topics += "<p> <a href = '#' onclick = \"getInsideTopic('"
											+ ""
											+ user
											+ "','"
											+ y[j]
											+ "')\">" + y[j] + "</a></p>";
									topics += "<div id = \"topic" + y[j] + "\"></div>";
								}
							} else {
								alert("No topics inside the organization");
							}

							if (data != null && data.ideas != "") {
								var z = data.ideas.split("&&");
								//Note here when a user clicks on a topic he should be redirected to topic's page
								for ( var k = 0; k < z.length - 1; k = k + 1) {
									ideas += "<p> <a href = '#' onclick = \"showIdea('"
											+ ""
											+ user
											+ "','"
											+ z[k]
											+ "')\">" + z[k] + "</a></p>";
								}
							} else {
								alert("No ideas inside the organization");
							}

							document.getElementById(desiredOrg).innerHTML = ideas
									+ topics + entit;
						});
	}
</script>
<script type="text/javascript">
	function showOrgOption(orgDiv) {
		if (orgDiv == "joinedOrgs") {
			$('#followedOrgs').hide(1000);
			$('#managedOrgs').hide(1000);
			$('#joinedOrgs').toggle(1000);
		} else if (orgDiv == 'followedOrgs') {
			$('#joinedOrgs').hide(1000);
			$('#managedOrgs').hide(1000);
			$('#followedOrgs').toggle(1000);
		} else if (orgDiv == 'managedOrgs') {
			$('#joinedOrgs').hide(1000);
			$('#followedOrgs').hide(1000);
			$('#managedOrgs').toggle(1000);
		} else {
			$('#joinedOrgs').hide(1000);
			$('#followedOrgs').hide(1000);
			$('#managedOrgs').hide(1000);
		}
	}
</script>
<!-- ----------------------------------------------------------------------------------------------------------------------------->
<!-- ----------------------------------------javascript for browsing Entities-------------------------------------------------- -->
<script type="text/javascript">
	function showEntitsJoined() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseJoinedEntities()}',
						{
							'userName' : user
						},
						function(data) {
							var entits = data.joinedEntits;
							var entitsPart = "";
							if (entits == null || entits == "") {
								document.getElementById("joinedEntits").innerHTML = "No entities to show";
							} else {
								entitsPart = "";
								var x = entits.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									entitsPart += "<a href = '#' onclick = \"showEntity('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a>";
									entitsPart += "<a href = '#' onclick = \"getInsideEntit('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									entitsPart += "<div id = \"entit" + x[i] + "\"></div>";
								}
								document.getElementById("joinedEntits").innerHTML = entitsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showEntitsManaged() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseManagedEntities()}',
						{
							'userName' : user
						},
						function(data) {
							var entits = data.managedEntits;
							var entitsPart = "";
							if (entits == null || entits == "") {
								document.getElementById("managedEntits").innerHTML = "No entities to show";
							} else {
								entitsPart = "";
								var x = entits.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									entitsPart += "<a href = '#' onclick = \"showEntity('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a>";
									entitsPart += "<a href = '#' onclick = \"getInsideEntit('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									entitsPart += "<div id = \"entit" + x[i] + "\"></div>";
								}
								document.getElementById("managedEntits").innerHTML = entitsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showEntitsFollowed() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseFollowedEntities()}',
						{
							'userName' : user
						},
						function(data) {
							var entits = data.followedEntits;
							var entitsPart = "";
							if (entits == null || entits == "") {
								document.getElementById("followedEntits").innerHTML = "No entities to show";
							} else {
								entitsPart = "";
								var x = entits.split("&&");
								for ( var i = 0; i < x.length - 1; i = i + 1) {
									entitsPart += "<a href = '#' onclick = \"showEntity('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open " + "</a>";
									entitsPart += "<a href = '#' onclick = \"getInsideEntit('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a>";
									entitsPart += "<div id = \"entit" + x[i] + "\"></div>";
								}
								document.getElementById("followedEntits").innerHTML = entitsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function getInsideEntit(u, entit) {
		var user = String(u);
		var entity = String(entit);
		$.getJSON('@{BrowseController.showEntitContents()}', {
			'entityName' : entity,
			'userName' : user
		}, function(data) {
			var entit = "";
			var topics = "";
			var desiredEntity = "entit" + entity;
			if (data != null && data.entities != "") {
				var x = data.entities.split("&&");
				for ( var i = 0; i < x.length; i = i + 1) {
					entit += "<a href = '#' onclick = \"showEntity('" + ""
							+ user + "','" + x[i] + "')\">" + "open " + "</a>";
					entit += "<p> <a href = '#' onclick = \"getInsideEntit('"
							+ "" + user + "','" + x[i] + "')\">" + x[i]
							+ "</a></p>";
					entit += "<div id = \"entit" + x[i] + "\"></div>";
				}
			} else {
				alert("No entities inside the entity");
			}

			if (data != null && data.topics != "") {
				var y = data.topics.split("&&");
				for ( var j = 0; j < y.length; j = j + 1) {
					topics += "<p> <a href = '#' onclick = \"showTopic('" + ""
							+ user + "','" + y[j] + "')\">" + "open"
							+ "</a></p>";
					topics += "<p> <a href = '#' onclick = \"getInsideTopic('"
							+ "" + user + "','" + y[j] + "')\">" + y[j]
							+ "</a></p>";
					topics += "<div id = \"topic" + y[j] + "\"></div>";
				}

			} else {
				alert("No topics inside the entity");
			}

			document.getElementById(desiredEntity).innerHTML = topics + entit;
		});
	}
</script>

<script type="text/javascript">
	function showEntitOption(entitDiv) {
		if (entitDiv == "joinedEntits") {
			$('#followedEntits').hide(1000);
			$('#managedEntits').hide(1000);
			$('#joinedEntits').toggle(1000);
		} else if (entitDiv == 'followedEntits') {
			$('#joinedEntits').hide(1000);
			$('#managedEntits').hide(1000);
			$('#followedEntits').toggle(1000);
		} else if (entitDiv == 'managedEntits') {
			$('#joinedEntits').hide(1000);
			$('#followedEntits').hide(1000);
			$('#managedEntits').toggle(1000);
		} else {
			$('#joinedEntits').hide(1000);
			$('#followedEntits').hide(1000);
			$('#managedEntits').hide(1000);
		}
	}
</script>

<!-- ----------------------------------------------------------------------------------------------------------------------------->
<!-- ---------------------javascript for browsing topics-------------------------------------------------------------------------->
<script type="text/javascript">
	function showTopicsCreated() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseCreatedTopics()}',
						{
							'userName' : user
						},
						function(data) {
							var topics = data.createdTopics;
							var topicsPart = "";
							if (topics == null || topics == "") {
								document.getElementById("createdTopics").innerHTML = "No topics to show";
							} else {
								var x = topics.split("&&");
								topicsPart = "";
								for ( var i = 0; i < x.length; i = i + 1) {
									topicsPart += "<p> <a href = '#' onclick = \"showTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a></p>";
									topicsPart += "<p> <a href = '#' onclick = \"getInsideTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									topicsPart += "<div id = \"topic" + x[i] + "\"></div>";
								}
								document.getElementById("createdTopics").innerHTML = topicsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showTopicsFollowed() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseFollowedTopics()}',
						{
							'userName' : user
						},
						function(data) {
							var topics = data.followedTopics;
							var topicsPart = "";
							if (topics == null || topics == "") {
								document.getElementById("followedTopics").innerHTML = "No topics to show";
							} else {
								var x = topics.split("&&");
								topicsPart = "";
								for ( var i = 0; i < x.length; i = i + 1) {
									topicsPart += "<p> <a href = '#' onclick = \"showTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a></p>";
									topicsPart += "<p> <a href = '#' onclick = \"getInsideTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									topicsPart += "<div id = \"topic" + x[i] + "\"></div>";
								}
								document.getElementById("followedTopics").innerHTML = topicsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function showTopicsManaged() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseManagedTopics()}',
						{
							'userName' : user
						},
						function(data) {
							var topics = data.managedTopics;
							var topicsPart = "";
							if (topics == null || topics == "") {
								document.getElementById("managedTopics").innerHTML = "No topics to show";
							} else {
								var x = topics.split("&&");
								topicsPart = "";
								for ( var i = 0; i < x.length; i = i + 1) {
									topicsPart += "<p> <a href = '#' onclick = \"showTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a></p>";
									topicsPart += "<p> <a href = '#' onclick = \"getInsideTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									topicsPart += "<div id = \"topic" + x[i] + "\"></div>";
								}
								document.getElementById("managedTopics").innerHTML = topicsPart;
							}
						});
	}
</script>

<script type="text/javascript">
	function getInsideTopic(userName, topic) {
		var user = userName;
		var topicId = (topic.split("-"))[0];
		var desiredTopic = "topic" + topic;
		$
				.getJSON(
						'@{BrowseController.showTopicContents()}',
						{
							'topicId' : topicId,
							'userName' : user
						},
						function(data) {
							var ideas = data.ideas;
							var ideasPart = "";
							if (ideas == null || ideas == "") {
								document.getElementById(desiredTopic).innerHTML = "No ideas to show";
							} else {
								var y = ideas.split("&&");
								for ( var j = 0; j < y.length; j = j + 1) {
									ideasPart += "<p> <a href = '#' onclick = \"showIdea('"
											+ ""
											+ user
											+ "','"
											+ y[j]
											+ "')\">" + y[j] + "</a></p>";
								}
								document.getElementById(desiredTopic).innerHTML = "";
								document.getElementById(desiredTopic).innerHTML = ideasPart;
							}

						});
	}
</script>

<script type="text/javascript">
	function showTopicOption(topicDiv) {
		if (topicDiv == "createdTopics") {
			$('#followedTopics').hide(1000);
			$('#managedTopics').hide(1000);
			$('#createdTopics').toggle(1000);
		} else if (topicDiv == 'followedTopics') {
			$('#createdTopics').hide(1000);
			$('#managedTopics').hide(1000);
			$('#followedTopics').toggle(1000);
		} else if (topicDiv == 'managedTopics') {
			$('#followedTopics').hide(1000);
			$('#createdTopics').hide(1000);
			$('#managedTopics').toggle(1000);
		} else {
			$('#followedTopics').hide(1000);
			$('#createdTopics').hide(1000);
			$('#managedTopics').hide(1000);

		}
	}
</script>

<!-- -------------------------------------------------------------------------------------------------------------------------- -->
<!-- ---------------------javascript for browsing ideas--------------------------------------------------------------------------->
<script type="text/javascript">
	function showIdeasCreated() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseIdeas()}',
						{
							'userName' : user
						},
						function(data) {
							var ideas = data.createdIdeas;
							var orgsPart = "";
							if (ideas == null || ideas == "") {
								document.getElementById("createdIdeas").innerHTML = "No ideas to show";
							} else {
								var x = ideas.split("&&");
								orgsPart = "";

								for ( var i = 0; i < x.length; i = i + 1) {
									orgsPart += "<p> <a href = '#' onclick = \"showIdea('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
								}
								document.getElementById("createdIdeas").innerHTML = orgsPart;
							}
						});
	}
</script>
<!-- -------------------------------------------------------------------------------------------------------------------------- -->
<!-- ---------------------javascript for browsing tags--------------------------------------------------------------------------->
<script type="text/javascript">
	function showTags() {
		var user = '${user}';
		$
				.getJSON(
						'@{BrowseController.browseTags()}',
						function(data) {
							var entits = data.tagList;
							var orgsPart = "";
							if (entits == null || entits == "") {
								document.getElementById("joinedOrgs").innerHTML = "No tags to show";
							} else {
								var x = entits.split("&&");
								orgsPart = "";
								for ( var i = 0; i < x.length; i = i + 1) {
									orgsPart += "<p> <a href = '#' onclick = \"getInsideTag('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									orgsPart += "<div id = \"tag" + x[i] + "\"></div>";
								}
								alert(orgsPart);
								document.getElementById("joinedOrgs").innerHTML = orgsPart;
							}

						});
	}
</script>

<script type="text/javascript">
	function getInsideTag(userName, tagId) {
		var user = userName;
		var tag = tagId;
		var desiredTag = "tag" + tagId;
		$
				.getJSON(
						'@{BrowseController.showTagContents()}',
						{
							'tagName' : tag,
							'userName' : user
						},
						function(data) {
							var topics = data.topics;
							var ideas = data.ideas;
							var topicsPart = "";
							var ideasPart = "";
							if (topics == null || topics == "") {
								document.getElementById(desiredTag).innerHTML = "No topics to show";
							} else {
								var x = topics.split("&&");
								for ( var i = 0; i < x.length; i = i + 1) {
									topicsPart += "<p> <a href = '#' onclick = \"showTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + "open" + "</a></p>";
									topicsPart += "<p> <a href = '#' onclick = \"getInsideTopic('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
									topicsPart += "<div id = \"topic" + x[i] + "\"></div>";
								}
							}

							if (ideas == null || ideas == "") {
								document.getElementById(desiredTag).innerHTML = "No ideas to show";
							} else {
								var y = ideas.split("&&");

								for ( var j = 0; j < y.length; j = j + 1) {
									ideasPart += "<p> <a href = '#' onclick = \"showIdea('"
											+ ""
											+ user
											+ "','"
											+ x[i]
											+ "')\">" + x[i] + "</a></p>";
								}

								document.getElementById(desiredTag).innerHTML = "Topics"
										+ topicsPart + " Ideas" + ideasPart;

							}

						});
	}
</script>
</head>
<body>

	<p>
		<a href='#' onclick="showOption('orgOptions')"> Organizations</a> <a
			href='#' onclick="showOption('entOptions')">Entities</a> <a href='#'
			onclick="showOption('topicOptions')">Topics</a> <a href='#'
			onclick="showOption('ideasOptions')">Ideas</a> <a href='#'
			onclick="showOption('mostViewedTags')">Tags</a>
	</p>

	<p id="entOptions">
		<a href='#' onclick="showEntitOption('joinedEntits')"> Joined
			Entities</a> <a href='#' onclick="showEntitOption('followedEntits')">
			Followed Entities</a> <a href='#'
			onclick="showEntitOption('managedEntits')"> Managed Managed</a>
	</p>

	<p id="orgOptions">
		<a href='#' onclick="showOrgOption('joinedOrgs')"> Joined
			Organizations</a> <a href='#' onclick="showOrgOption('followedOrgs')">
			Followed Organizations</a> <a href='#'
			onclick="showOrgOption('managedOrgs')"> Managed Organizations</a>
	</p>

	<p id="topicOptions">
		<a href='#' onclick="showTopicOption('createdTopics')"> Created
			Topics</a> <a href='#' onclick="showTopicOption('followedTopics')">
			Followed Topics</a> <a href='#'
			onclick="showTopicOption('managedTopics')"> Managed Topics</a>
	</p>

	<p id="ideasOptions">
		<a href='#' onclick="$('#createdIdeas').toggle(1000)"> Created
			Ideas</a> <a href='#' onclick="$('#commentecIdeas').toggle(1000)">
			Commented Ideas</a>
	</p>



	<div id="joinedOrgs" value="hidden"></div>
	<div id="managedOrgs" value="hidden"></div>
	<div id="followedOrgs" value="hidden"></div>
	<div id="joinedEntits" value="hidden"></div>
	<div id="managedEntits" value="hidden"></div>
	<div id="followedEntits" value="hidden"></div>
	<div id="createdTopics" value="hidden"></div>
	<div id="followedTopics" value="hidden"></div>
	<div id="managedTopics" value="hidden"></div>
	<div id="createdIdeas" value="hidden"></div>
	<div id="commentedIdeas" value="hidden"></div>
	<div id="mostViewedTags" value="hidden"></div>
</body>
</html>